<?php
/**
 * Cache后端接口
 *
 * @package Cache
 * @author shukyyang
 * @version $Id$
 */
namespace SF\Cache;

interface BackendInterface
{
    public function set($key, $value, $expire = null);
    public function get($key);
    public function del($key);
    public function increment($key, $val = 1);
    public function decrement($key, $val = 1);
    public function isExists($key);
}